/*
 * @Description: 对应Device02接口API
 * @Author: Liu Kunpeng
 * @Date: 2021-07-14 19:56:38
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-07-26 11:04:43
 */

import request from '@/utils/request'
//获取所有设备
export function getAllDevicesApi(queryInfo){
    return request({
        url: '/admin/organization/dev/three/getAll',
        method: 'get',
        params: queryInfo
    })
}
//通过id删除Device
export function delDevice02Api(id){
    return request({
        url: '/admin/organization/dev/three/delete/' + id,
        method: 'delete',
    })
}
//通过类别搜索设备
export function searchDeviceByClassApi(params){
    return request({
        url: '',
        method: 'get',
        params: params
    })
}